package com.myself.pattern.factory.abstractfactory;

public class IntelFactory implements IComputerPartsFactory {

	@Override
	public ICpu productCpu() {
		System.out.println("生产Intel CPU");
		return new IntelCpu();
	}

	@Override
	public IMainBoard productMainBoard() {
		System.out.println("生产Intel 主板");
		return new IntelMainBoard();
	}

}
